package vn.smartoffice.promail.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import vn.smartoffice.mapper.IMapper;
import vn.smartoffice.promail.entity.MailFolder;

@Repository
public interface MailFolderMapper extends IMapper<MailFolder> {

	List<MailFolder> findByUserId(long userId);

	List<MailFolder> findByParentId(Long parentId);
	
	MailFolder findByName(String name);

}
